import request from '/@/utils/request'
// 查询IP封锁列表
export function getFilterConfig() {
    return request({
        url: '/api/v1/ipfilter/filterConfig/getConfig',
        method: 'get'
    })
}


export function updateFilterConfig(data:any) {
    return request({
        url: '/api/v1/ipfilter/filterConfig/updateConfig',
        method: 'put',
        data: data
    })
}


// 获取统计信息
export function getStatistics() {
    return request({
        url: '/api/v1/ipfilter/filterConfig/getStatistics',
        method: 'get'
    })
}
